'use strict';

const Service = require('egg').Service;

class DelectService extends Service {
  async delect(getID) {
    const user=await this.ctx.model.Notes.destroy({
        where: {
            ID: getID
        }
    })

    return user
  }
}

module.exports = DelectService;
